package com.lkx.farmershop.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author lwc
 * @since 2024-03-21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long id;


    /**
     * 微信用户唯一标识
     */
    private String openid;

    /**
     * 用户名
     */
    private String username;


    /**
     * 头像
     */
    private String avatar;


    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
